package com.alibaba.algo.cooperation.usercomponent.service.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 类SysEmployeePositionService.java的实现描述：员工和岗位关系 service
 *
 * @author nieganggang 2021-03-12 16:08:17
 */
@FeignClient(url="${feign.userCenterUrl:}", value = "usercenter-service", contextId = "usercenter-app")
public interface SysEmployeePositionService {

    @RequestMapping(value = "/sysEmployeePosition/insert", method = RequestMethod.POST)
    void insert(@RequestParam("employeeId") Long employeeId, @RequestParam("positionId") Long positionId);

}
